package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter@Getter
public class Client extends BaseDomain{

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date filingDate;  //建档时间

    private Employee marketer; //营销人员 关联

    private Employee tracer; //跟踪人


    private Employee inputer; //录入人 关联

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date inputTime; //录入时间

    private DictionaryItem campus;  //具体意向校区 来源字典

    private DictionaryItem ittState; //意向程度 来源字典

    private DictionaryItem ittSubject; //意向学科 来源字典

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date lastTraceTime; //最后跟进时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date appointTime; //约谈时间

    private DictionaryItem source; //学生来源  来源字典

    private String name; //客户名称

    private String wechatNum; //微信

    private String qqNum; //QQ号码

    private String tel; //电话号码

    private Integer age;

    private boolean man; //性别

    private String email; //邮箱

    private String address; //联系地址

    private String school; //来自哪个学校

    private DictionaryItem bigClientSchool; //大客户的学校名

    private DictionaryItem education; //学历程度 来源字典

    private String profession; //专业

    private DictionaryItem territory;  //地域 来源字典

    private Integer workingYear; //工作年限

    private DictionaryItem state; //当前状态 来源字典

    private boolean hasComputer;  //是否携带电脑

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date getUvsDate; //大学入学时间

    private String uvsClass; //班级

    private boolean noPay; //是否缴费

    private boolean isOfficial; //是否正式学员

    private String remark; //备注

    private String attention; //客户关注点

    private boolean inPool;  //是否在资源池

}